package com.it.security.service.impl;

import com.it.security.dao.PermissionDao;
import com.it.security.pojo.Permission;
import com.it.security.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PermissionServiceImpl implements PermissionService {



    @Autowired
    PermissionDao permissionDao;
    @Override
    public Permission getPermissionById(Integer id) {
        return permissionDao.getPermissionById(id);
    }
}
